<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
   <!-- <meta name="viewport" content="width=device-width, initial-scale=1"> -->
    <meta name="description" content="">
    <meta name="author" content="">
    <title>Login</title>
<script src="<?php echo base_url()?>asset/js/jquery.js"></script>
	
	  
	  
    <?php echo $js?>
    <script type="text/javascript">
    	var baseUrl = '<?php echo base_url()?>';
    </script>

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    
    <style type="text/css">
	<!--
	body {
		margin-left: 0%;
		margin-top: 0%;
		background-color: #FFFFFF;
	}
	-->
	</style>
  </head>
	<script type="text/javascript">
		$(function(){
			initNormalForm(function(data){
				if(data.flag=="true"){
					window.location.href="<?php echo base_url()?>";
				}else{
					alert(data.message);
				}
			})
		})
	</script>
  <body>

    <body>
<table width="960" height="600" border="0" align="center">
  <tr valign="top"> 
    <!--    <td height="107" colspan="6"><img src="images/Header.jpg" width="980" height="105" /></td>  -->
    <td height="96" colspan="5"> <table width="955" border="0">
        <tr> 
          <td width="955" align="center" valign="top"><div align="center"><img src="<?php echo $image?>Header.jpg" width="980" height="105" /></div></td>
        </tr>
      </table></tr>
  <tr align="center"> 
    <td height="30" colspan="5" valign="top">&nbsp;</td>
  </tr>
  <tr> 
    <td width="856" align="center" valign="top" bordercolor="0">
<table width="46%" border="0" align="center" id="login">
        <tr> 
          <td><div align="center"> 
          	  <form class="form-signin" id="myForm" action="<?php echo $current?>loginAction/">
              <!--<form name="form1" method="post" action="<?php echo $current?>loginAction"> -->
                <p align="left"><strong>ล็อกอินเข้าสู่ระบบ <br />
                  </strong></p>
                <p align="left"> รหัสผู้ใช้ 
                  <input name="username" type="text" id="txtUsername">
                  <br />
                  <br />
                  รหัสผ่าน 
                  <input name="password" type="password" id="txtPassword">
                  <a href="forget.php">ลืมรหัสผ่าน?</a> </p>
                <p align="left">
                  <label>
                  <input type="image" name="Login" id="Login" src="<?php echo $image?>login.jpg" />
                  </label>
                </p>
              </form>
            </div></td>
        </tr>
      </table>
    <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p></td>
    <td width="126" colspan="4" valign="top"><!--<form id="form1" name="form1" method="post" action=""> -->
        <div align="center"> </div>
      <!--</form> -->
      <!--<form id="form2" name="form2" method="post" action=""> -->
        <div align="center"><a href="helpdesk.php"><img src="<?php echo $image?>contact_it.jpg" width="126" height="65" border="0" /></a> 
        </div>
      <!--</form> -->
     <!-- <form id="form3" name="form3" method="post" action=""> -->
        <div align="center"> </div>
      <!--</form> --></td>
  </tr>
</table>


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
  </body>
</html>
